<template>
  <ex_select_auto ref="main" :option="buildOption" url="/fms-api/client/FmsClientRpc/selectEnableCurrency.json" :value="value" filterable :popper-append-to-body="false"
    v-bind="$attrs" v-on="$listeners"  />

</template>
<!-- <template>

  <el-select v-model="selectValue"
             @change="afterChange"
             :clearable="false"
             :filterable="true"
             :popper-append-to-body="false">
    <el-option v-for="item in optionsData" :key="item.currencyType" :label="$tt('CurrencyTypeEnum__' + item.currencyType)" :value="item.currencyType">
    </el-option>
  </el-select>
</template> -->
<script>

import Vue from 'vue'

export default {


  methods: {
    buildOption(item) {
      return { label: this.$tt('CurrencyTypeEnum__' + item.currencyType), value: item.currencyType }
    },


  },
  props: {
    value: null,


  }




}


</script>
